package com.honghu.cloud.dto;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 系统附件管理类，用来管理系统所有附件信息，包括图片附件、rar附件等等
 * @author Administrator
 *
 */
public class AccessoryDto extends BaseDto{
	
	private static final long serialVersionUID = -3995371987380904622L;
	
	private String name;// 附件名称
	private String path;// 存放路径
	private BigDecimal size;// 附件大小
	private int width;// 宽度
	private int height;// 高度
	private String ext;// 扩展名，不包括.
	private String info;// 附件说明
	private Long userId; // 附件对应的用户id
	private Long user_id; // 附件对应的用户id
	private Long albumId; // 图片对应的相册id
	
	private SysConfigDto config;// 对应登录页左侧图片
	
	public AccessoryDto(Long id, Date addTime) {
		super(id, addTime);
	}
	
	public AccessoryDto(Long id) {
		super.setId(id);
	}
	
	public AccessoryDto() {
	}

	public void setSize(BigDecimal size) {
		this.size = size;
	}

	public String getInfo() {
		return this.info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public BigDecimal getSize() {
		return this.size;
	}

	public int getWidth() {
		return this.width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return this.height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public String getExt() {
		return this.ext;
	}

	public void setExt(String ext) {
		this.ext = ext;
	}

	public SysConfigDto getConfig() {
		return this.config;
	}

	public void setConfig(SysConfigDto config) {
		this.config = config;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getAlbumId() {
		return albumId;
	}

	public void setAlbumId(Long albumId) {
		this.albumId = albumId;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

}
